<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<META http-equiv="Content-Type" content="text/html; charset=UTF-8">
<link rel="stylesheet" href="../../../../style.css" type="text/css" media="screen">
<link rel="stylesheet" href="../../../../print.css" type="text/css" media="print">
<meta content="AutoCompleterRemote,com.jacksay.vikingfl.autocompleter.AutoCompleterRemote,completion,fRealTimeRequest,colorDropDown,completionLabelFunction,completionLabelFunctionRenderer,completionMaxRow,dataProvider,dropDownItemRenderer,filterFunction,hasSelectedItem,idName,labelField,remoteCallStartAt,searchMode,searchSensitiveCase,searchSortByProperty,selectedID,selectedItem,selectedItemLabelFunction,selectedLabel,sortField,text,completionSelect,completionSelectNext,completionSelectPrevious,createChildren,defaultCompletionLabelFunction,defaultFilterFunction,filterData,focusOutHandler,handlerFocusOut,handlerItemClick,handlerKeyUp,handlerTextChange,hideCompletion,invalidateStyle,measure,remoteGetItemById,remoteGetItemByIdResult,remoteGetItemList,remoteGetItemListResult,setBoldTextFind,showCompletion,styleSelected" name="keywords">
<title>com.jacksay.vikingfl.autocompleter.AutoCompleterRemote</title>
</head>
<body>
<script type="text/javascript" language="javascript" src="../../../../asdoc.js"></script><script type="text/javascript" language="javascript" src="../../../../cookies.js"></script><script type="text/javascript" language="javascript">
<!--
				asdocTitle = 'AutoCompleterRemote - API Documentation';
				var baseRef = '../../../../';
				window.onload = configPage;
			--></script>
<table style="display:none" id="titleTable" cellspacing="0" cellpadding="0" class="titleTable">
<tr>
<td align="left" class="titleTableTitle">API Documentation</td><td align="right" class="titleTableTopNav"><a onclick="loadClassListFrame('../../../../all-classes.html')" href="../../../../package-summary.html">All&nbsp;Packages</a>&nbsp;|&nbsp;<a onclick="loadClassListFrame('../../../../all-classes.html')" href="../../../../class-summary.html">All&nbsp;Classes</a>&nbsp;|&nbsp;<a onclick="loadClassListFrame('../../../../index-list.html')" href="../../../../all-index-A.html">Index</a>&nbsp;|&nbsp;<a href="../../../../index.html?com/jacksay/vikingfl/autocompleter/AutoCompleterRemote.html&amp;com/jacksay/vikingfl/autocompleter/class-list.html" id="framesLink1">Frames</a><a onclick="parent.location=document.location" href="" style="display:none" id="noFramesLink1">No&nbsp;Frames</a></td><td rowspan="3" align="right" class="titleTableLogo"><img alt="Adobe Logo" title="Adobe Logo" class="logoImage" src="../../../../images/logo.jpg"></td>
</tr>
<tr class="titleTableRow2">
<td align="left" id="subTitle" class="titleTableSubTitle">Class&nbsp;AutoCompleterRemote</td><td align="right" id="subNav" class="titleTableSubNav"><a href="#propertySummary">Properties</a>&nbsp;| <a href="#methodSummary">Methods</a>&nbsp;| <a href="#eventSummary">Events</a></td>
</tr>
<tr class="titleTableRow3">
<td colspan="2">&nbsp;</td>
</tr>
</table>
<script type="text/javascript" language="javascript">
<!--
if (!isEclipse() || window.name != ECLIPSE_FRAME_NAME) {titleBar_setSubTitle("Class AutoCompleterRemote"); titleBar_setSubNav(false,true,false,false,true,false,true,false,false,false,false,false,false,false);}
--></script>
<div class="MainContent">
<table cellspacing="0" cellpadding="0" class="classHeaderTable">
<tr>
<td class="classHeaderTableLabel">Package</td><td><a onclick="javascript:loadClassListFrame('class-list.html')" href="package-detail.html">com.jacksay.vikingfl.autocompleter</a></td>
</tr>
<tr>
<td class="classHeaderTableLabel">Class</td><td class="classSignature">public class AutoCompleterRemote</td>
</tr>
<tr>
<td class="classHeaderTableLabel">Inheritance</td><td class="inheritanceList">AutoCompleterRemote <img class="inheritArrow" alt="Inheritance" title="Inheritance" src="../../../../images/inherit-arrow.gif"> <a href="../textinput/PromptTextInput.html">PromptTextInput</a> <img class="inheritArrow" alt="Inheritance" title="Inheritance" src="../../../../images/inherit-arrow.gif"> mx.controls.TextInput</td>
</tr>
</table>
<p></p>
  Autocompleter mono champ
  <p></p>
<br>
<hr>
</div>
<a name="propertySummary"></a>
<div class="summarySection">
<div class="summaryTableTitle">Public Properties</div>
<div class="showHideLinks">
<div class="hideInheritedProperty" id="hideInheritedProperty">
<a onclick="javascript:setInheritedVisible(false,'Property');" href="#propertySummary" class="showHideLink"><img src="../../../../images/expanded.gif" class="showHideLinkImage"> Hide Inherited Public Properties</a>
</div>
<div class="showInheritedProperty" id="showInheritedProperty">
<a onclick="javascript:setInheritedVisible(true,'Property');" href="#propertySummary" class="showHideLink"><img src="../../../../images/collapsed.gif" class="showHideLinkImage"> Show Inherited Public Properties</a>
</div>
</div>
<table id="summaryTableProperty" class="summaryTable " cellpadding="3" cellspacing="0">
<tr>
<th>&nbsp;</th><th colspan="2">Property</th><th class="summaryTableOwnerCol">Defined&nbsp;by</th>
</tr>
<tr class="">
<td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableInheritanceCol">&nbsp;</td><td class="summaryTableSignatureCol"><a class="signatureLink" href="#colorDropDown">colorDropDown</a> : String<div class="summaryTableDescription">
   Couleur des éléments dans la DropDown
      </div>
</td><td class="summaryTableOwnerCol">AutoCompleterRemote</td>
</tr>
<tr class="">
<td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableInheritanceCol">&nbsp;</td><td class="summaryTableSignatureCol"><a class="signatureLink" href="#completionLabelFunction">completionLabelFunction</a> : Function<div class="summaryTableDescription">
   Méthode de rendu pour la completion
      </div>
</td><td class="summaryTableOwnerCol">AutoCompleterRemote</td>
</tr>
<tr class="">
<td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableInheritanceCol">&nbsp;</td><td class="summaryTableSignatureCol"><a class="signatureLink" href="#completionLabelFunctionRenderer">completionLabelFunctionRenderer</a> : Function<div class="summaryTableDescription">
   Mise en forme de la completion
      </div>
</td><td class="summaryTableOwnerCol">AutoCompleterRemote</td>
</tr>
<tr class="">
<td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableInheritanceCol">&nbsp;</td><td class="summaryTableSignatureCol"><a class="signatureLink" href="#completionMaxRow">completionMaxRow</a> : int<div class="summaryTableDescription">
   Nombre de caractère minimum pour éxécuter la fonction de récupération
   des listes de donnée.</div>
</td><td class="summaryTableOwnerCol">AutoCompleterRemote</td>
</tr>
<tr class="">
<td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableInheritanceCol">&nbsp;</td><td class="summaryTableSignatureCol"><a class="signatureLink" href="#dataProvider">dataProvider</a> : Object<div class="summaryTableDescription">
   Mise en forme de la selection dans le champ de texte
      </div>
</td><td class="summaryTableOwnerCol">AutoCompleterRemote</td>
</tr>
<tr class="">
<td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableInheritanceCol">&nbsp;</td><td class="summaryTableSignatureCol"><a class="signatureLink" href="#dropDownItemRenderer">dropDownItemRenderer</a> : IFactory<div class="summaryTableDescription">
   Item renderer de rendu pour la completion
      </div>
</td><td class="summaryTableOwnerCol">AutoCompleterRemote</td>
</tr>
<tr class="">
<td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableInheritanceCol">&nbsp;</td><td class="summaryTableSignatureCol"><a class="signatureLink" href="#filterFunction">filterFunction</a> : Function<div class="summaryTableDescription">
   Fonction de filtrage des données dans la completion.</div>
</td><td class="summaryTableOwnerCol">AutoCompleterRemote</td>
</tr>
<tr class="">
<td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableInheritanceCol">&nbsp;</td><td class="summaryTableSignatureCol"><a class="signatureLink" href="#hasSelectedItem">hasSelectedItem</a> : Boolean<div class="summaryTableDescription">[read-only]
   Permet de savoir si un item est selectionné ou pas
   
   </div>
</td><td class="summaryTableOwnerCol">AutoCompleterRemote</td>
</tr>
<tr class="">
<td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableInheritanceCol">&nbsp;</td><td class="summaryTableSignatureCol"><a class="signatureLink" href="#idName">idName</a> : String<div class="summaryTableDescription">
   Nom de la propriété servant de clef primaire.</div>
</td><td class="summaryTableOwnerCol">AutoCompleterRemote</td>
</tr>
<tr class="">
<td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableInheritanceCol">&nbsp;</td><td class="summaryTableSignatureCol"><a class="signatureLink" href="#labelField">labelField</a> : String<div class="summaryTableDescription">
   Méthode de filtrage des données
      </div>
</td><td class="summaryTableOwnerCol">AutoCompleterRemote</td>
</tr>
<tr class="hideInheritedProperty">
<td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableInheritanceCol"><img class="inheritedSummaryImage" title="Inherited" alt="Inherited" src="../../../../images/inheritedSummary.gif"></td><td class="summaryTableSignatureCol"><a class="signatureLink" href="../textinput/PromptTextInput.html#prompt">prompt</a> : String<div class="summaryTableDescription">
   Contenu du prompt affiché quand le champ de text est vide
      </div>
</td><td class="summaryTableOwnerCol"><a href="../textinput/PromptTextInput.html">PromptTextInput</a></td>
</tr>
<tr class="">
<td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableInheritanceCol">&nbsp;</td><td class="summaryTableSignatureCol"><a class="signatureLink" href="#remoteCallStartAt">remoteCallStartAt</a> : int<div class="summaryTableDescription">
   Nombre de caractère minimum pour éxécuter la fonction de récupération
   des listes de donnée.</div>
</td><td class="summaryTableOwnerCol">AutoCompleterRemote</td>
</tr>
<tr class="">
<td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableInheritanceCol">&nbsp;</td><td class="summaryTableSignatureCol"><a class="signatureLink" href="#searchMode">searchMode</a> : String<div class="summaryTableDescription">
   Méthode de filtrage des données :
    - contain : Contiend la chaine
    - begin_by : Commence par
      </div>
</td><td class="summaryTableOwnerCol">AutoCompleterRemote</td>
</tr>
<tr class="">
<td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableInheritanceCol">&nbsp;</td><td class="summaryTableSignatureCol"><a class="signatureLink" href="#searchSensitiveCase">searchSensitiveCase</a> : Boolean<div class="summaryTableDescription">
   Définit si la méthode de filtrage des données est sensible à la case,
   la donnée est placée dans sortField
      </div>
</td><td class="summaryTableOwnerCol">AutoCompleterRemote</td>
</tr>
<tr class="">
<td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableInheritanceCol">&nbsp;</td><td class="summaryTableSignatureCol"><a class="signatureLink" href="#searchSortByProperty">searchSortByProperty</a> : String<div class="summaryTableDescription">
   Définit le champ utilisé pour le trie de la completion.</div>
</td><td class="summaryTableOwnerCol">AutoCompleterRemote</td>
</tr>
<tr class="">
<td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableInheritanceCol">&nbsp;</td><td class="summaryTableSignatureCol"><a class="signatureLink" href="#selectedID">selectedID</a> : int<div class="summaryTableDescription">
   Permet de manipuler / obtenir les items via leurs clef primaires.</div>
</td><td class="summaryTableOwnerCol">AutoCompleterRemote</td>
</tr>
<tr class="">
<td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableInheritanceCol">&nbsp;</td><td class="summaryTableSignatureCol"><a class="signatureLink" href="#selectedItem">selectedItem</a> : *<div class="summaryTableDescription">
   Item selectionné dans la completion.</div>
</td><td class="summaryTableOwnerCol">AutoCompleterRemote</td>
</tr>
<tr class="">
<td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableInheritanceCol">&nbsp;</td><td class="summaryTableSignatureCol"><a class="signatureLink" href="#selectedItemLabelFunction">selectedItemLabelFunction</a> : Function<div class="summaryTableDescription">
   Méthode de rendu pour les items SELECTIONNES
      </div>
</td><td class="summaryTableOwnerCol">AutoCompleterRemote</td>
</tr>
<tr class="">
<td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableInheritanceCol">&nbsp;</td><td class="summaryTableSignatureCol"><a class="signatureLink" href="#selectedLabel">selectedLabel</a> : String<div class="summaryTableDescription">[read-only] 
   Retourne le selectedItem formaté pour l'affichage dans le champ de 
   texte.</div>
</td><td class="summaryTableOwnerCol">AutoCompleterRemote</td>
</tr>
<tr class="">
<td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableInheritanceCol">&nbsp;</td><td class="summaryTableSignatureCol"><a class="signatureLink" href="#sortField">sortField</a> : SortField<div class="summaryTableDescription">
   SortField appliqué au ICollectionView de la completion pour les 
   tries.</div>
</td><td class="summaryTableOwnerCol">AutoCompleterRemote</td>
</tr>
<tr class="">
<td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableInheritanceCol">&nbsp;</td><td class="summaryTableSignatureCol"><a class="signatureLink" href="#text">text</a> : String<div class="summaryTableDescription">
   Nombre de caractère minimum pour éxécuter la fonction de récupération
   des listes de donnée.</div>
</td><td class="summaryTableOwnerCol">AutoCompleterRemote</td>
</tr>
</table>
</div>
<a name="protectedPropertySummary"></a>
<div class="summarySection">
<div class="summaryTableTitle">Protected Properties</div>
<table id="summaryTableProtectedProperty" class="summaryTable " cellpadding="3" cellspacing="0">
<tr>
<th>&nbsp;</th><th colspan="2">Property</th><th class="summaryTableOwnerCol">Defined&nbsp;by</th>
</tr>
<tr class="">
<td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableInheritanceCol">&nbsp;</td><td class="summaryTableSignatureCol"><a class="signatureLink" href="#completion">completion</a> : List<div class="summaryTableDescription"></div>
</td><td class="summaryTableOwnerCol">AutoCompleterRemote</td>
</tr>
<tr class="">
<td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableInheritanceCol">&nbsp;</td><td class="summaryTableSignatureCol"><a class="signatureLink" href="#fRealTimeRequest">fRealTimeRequest</a> : Boolean = false<div class="summaryTableDescription">
   Détermine si l'autocompleter est en mode connecté.</div>
</td><td class="summaryTableOwnerCol">AutoCompleterRemote</td>
</tr>
</table>
</div>
<a name="methodSummary"></a>
<div class="summarySection">
<div class="summaryTableTitle">Public Methods</div>
<table id="summaryTableMethod" class="summaryTable " cellpadding="3" cellspacing="0">
<tr>
<th>&nbsp;</th><th colspan="2">Method</th><th class="summaryTableOwnerCol">Defined&nbsp;by</th>
</tr>
<tr class="">
<td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableInheritanceCol">&nbsp;</td><td class="summaryTableSignatureCol">
<div class="summarySignature">
<a class="signatureLink" href="#AutoCompleterRemote()">AutoCompleterRemote</a>()</div>
<div class="summaryTableDescription"></div>
</td><td class="summaryTableOwnerCol">AutoCompleterRemote</td>
</tr>
<tr class="">
<td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableInheritanceCol">&nbsp;</td><td class="summaryTableSignatureCol">
<div class="summarySignature">
<a class="signatureLink" href="#defaultCompletionLabelFunction()">defaultCompletionLabelFunction</a>(item:Object):String</div>
<div class="summaryTableDescription"> 
   Filtrage de la complection par defaut
     protected function completionFilterFunction( o:Object ) :Boolean {
   if( text == "" ) return true;
   
   var pattern:String = "";
   var flag:String = 'g';
   var regExp:RegExp;
   var value:String = (selectedItemLabelFunction==null)?o.toString():selectedItemLabelFunction(o);
   
   if( searchMode == AutoCompleterRemoteMode.BEGIN_BY ) pattern = pattern.concat('^');
   if( !searchSensitiveCase ) flag = flag.concat('i');
   
   pattern = pattern.concat(text);
   regExp = new RegExp(pattern, flag);
   
   return value.match(regExp).length > 0;
    
  }
  /</div>
</td><td class="summaryTableOwnerCol">AutoCompleterRemote</td>
</tr>
<tr class="">
<td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableInheritanceCol">&nbsp;</td><td class="summaryTableSignatureCol">
<div class="summarySignature">
<a class="signatureLink" href="#defaultFilterFunction()">defaultFilterFunction</a>(item:Object):Boolean</div>
<div class="summaryTableDescription"> 
   Cette fonction permet de filter le jeu de données.</div>
</td><td class="summaryTableOwnerCol">AutoCompleterRemote</td>
</tr>
<tr class="">
<td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableInheritanceCol">&nbsp;</td><td class="summaryTableSignatureCol">
<div class="summarySignature">
<a class="signatureLink" href="#filterData()">filterData</a>():void</div>
<div class="summaryTableDescription"> 
   Rafraîchit la liste
   
   </div>
</td><td class="summaryTableOwnerCol">AutoCompleterRemote</td>
</tr>
<tr class="">
<td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableInheritanceCol">&nbsp;</td><td class="summaryTableSignatureCol">
<div class="summarySignature">
<a class="signatureLink" href="#setBoldTextFind()">setBoldTextFind</a>(item:Object):String</div>
<div class="summaryTableDescription"></div>
</td><td class="summaryTableOwnerCol">AutoCompleterRemote</td>
</tr>
</table>
</div>
<a name="protectedMethodSummary"></a>
<div class="summarySection">
<div class="summaryTableTitle">Protected Methods</div>
<div class="showHideLinks">
<div class="hideInheritedProtectedMethod" id="hideInheritedProtectedMethod">
<a onclick="javascript:setInheritedVisible(false,'ProtectedMethod');" href="#protectedMethodSummary" class="showHideLink"><img src="../../../../images/expanded.gif" class="showHideLinkImage"> Hide Inherited Protected Methods</a>
</div>
<div class="showInheritedProtectedMethod" id="showInheritedProtectedMethod">
<a onclick="javascript:setInheritedVisible(true,'ProtectedMethod');" href="#protectedMethodSummary" class="showHideLink"><img src="../../../../images/collapsed.gif" class="showHideLinkImage"> Show Inherited Protected Methods</a>
</div>
</div>
<table id="summaryTableProtectedMethod" class="summaryTable " cellpadding="3" cellspacing="0">
<tr>
<th>&nbsp;</th><th colspan="2">Method</th><th class="summaryTableOwnerCol">Defined&nbsp;by</th>
</tr>
<tr class="hideInheritedProtectedMethod">
<td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableInheritanceCol"><img class="inheritedSummaryImage" title="Inherited" alt="Inherited" src="../../../../images/inheritedSummary.gif"></td><td class="summaryTableSignatureCol">
<div class="summarySignature">
<a class="signatureLink" href="../textinput/PromptTextInput.html#applyPrompt()">applyPrompt</a>():void</div>
<div class="summaryTableDescription">
   Evalue le texte pour déterminer si le prompt doit être affiché ou pas
   </div>
</td><td class="summaryTableOwnerCol"><a href="../textinput/PromptTextInput.html">PromptTextInput</a></td>
</tr>
<tr class="hideInheritedProtectedMethod">
<td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableInheritanceCol"><img class="inheritedSummaryImage" title="Inherited" alt="Inherited" src="../../../../images/inheritedSummary.gif"></td><td class="summaryTableSignatureCol">
<div class="summarySignature">
<a class="signatureLink" href="../textinput/PromptTextInput.html#commitProperties()">commitProperties</a>():void</div>
<div class="summaryTableDescription"></div>
</td><td class="summaryTableOwnerCol"><a href="../textinput/PromptTextInput.html">PromptTextInput</a></td>
</tr>
<tr class="">
<td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableInheritanceCol">&nbsp;</td><td class="summaryTableSignatureCol">
<div class="summarySignature">
<a class="signatureLink" href="#completionSelect()">completionSelect</a>():void</div>
<div class="summaryTableDescription">
   Valide l'item selectionné dans la completion comme selectedItem
   
   </div>
</td><td class="summaryTableOwnerCol">AutoCompleterRemote</td>
</tr>
<tr class="">
<td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableInheritanceCol">&nbsp;</td><td class="summaryTableSignatureCol">
<div class="summarySignature">
<a class="signatureLink" href="#completionSelectNext()">completionSelectNext</a>():void</div>
<div class="summaryTableDescription">
   Selectionne l'item suivant dans la completion.</div>
</td><td class="summaryTableOwnerCol">AutoCompleterRemote</td>
</tr>
<tr class="">
<td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableInheritanceCol">&nbsp;</td><td class="summaryTableSignatureCol">
<div class="summarySignature">
<a class="signatureLink" href="#completionSelectPrevious()">completionSelectPrevious</a>():void</div>
<div class="summaryTableDescription">
   Selectionne l'item précédent dans la completion
   
   </div>
</td><td class="summaryTableOwnerCol">AutoCompleterRemote</td>
</tr>
<tr class="">
<td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableInheritanceCol">&nbsp;</td><td class="summaryTableSignatureCol">
<div class="summarySignature">
<a class="signatureLink" href="#createChildren()">createChildren</a>():void</div>
<div class="summaryTableDescription">
   Création des enfants
   
   </div>
</td><td class="summaryTableOwnerCol">AutoCompleterRemote</td>
</tr>
<tr class="">
<td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableInheritanceCol">&nbsp;</td><td class="summaryTableSignatureCol">
<div class="summarySignature">
<a class="signatureLink" href="#focusOutHandler()">focusOutHandler</a>(event:FocusEvent):void</div>
<div class="summaryTableDescription">
   A la perte du focus, on cache la completion
   
   </div>
</td><td class="summaryTableOwnerCol">AutoCompleterRemote</td>
</tr>
<tr class="hideInheritedProtectedMethod">
<td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableInheritanceCol"><img class="inheritedSummaryImage" title="Inherited" alt="Inherited" src="../../../../images/inheritedSummary.gif"></td><td class="summaryTableSignatureCol">
<div class="summarySignature">
<a class="signatureLink" href="../textinput/PromptTextInput.html#handlerFocusIn()">handlerFocusIn</a>(e:FocusEvent):void</div>
<div class="summaryTableDescription">
   Handler : FocusEvent.FOCUS_IN
   Supprime l'affichage du promp quand le champ prend le focus
   </div>
</td><td class="summaryTableOwnerCol"><a href="../textinput/PromptTextInput.html">PromptTextInput</a></td>
</tr>
<tr class="">
<td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableInheritanceCol">&nbsp;</td><td class="summaryTableSignatureCol">
<div class="summarySignature">
<a class="signatureLink" href="#handlerFocusOut()">handlerFocusOut</a>(e:FocusEvent):void</div>
<div class="summaryTableDescription">
   FocusEvent.FOCUS_OUT : A la perte de focus du composant
   
   </div>
</td><td class="summaryTableOwnerCol">AutoCompleterRemote</td>
</tr>
<tr class="">
<td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableInheritanceCol">&nbsp;</td><td class="summaryTableSignatureCol">
<div class="summarySignature">
<a class="signatureLink" href="#handlerItemClick()">handlerItemClick</a>(e:ListEvent):void</div>
<div class="summaryTableDescription">
   completion > ListEvent.ITEM_CLICK : Quand un item dans la liste est 
   selectionné via un click de la souris.</div>
</td><td class="summaryTableOwnerCol">AutoCompleterRemote</td>
</tr>
<tr class="">
<td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableInheritanceCol">&nbsp;</td><td class="summaryTableSignatureCol">
<div class="summarySignature">
<a class="signatureLink" href="#handlerKeyUp()">handlerKeyUp</a>(e:KeyboardEvent):void</div>
<div class="summaryTableDescription">
   Détecteur pour les touches relachées
   
   </div>
</td><td class="summaryTableOwnerCol">AutoCompleterRemote</td>
</tr>
<tr class="">
<td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableInheritanceCol">&nbsp;</td><td class="summaryTableSignatureCol">
<div class="summarySignature">
<a class="signatureLink" href="#handlerTextChange()">handlerTextChange</a>(e:<a href="../textinput/PromptTextInputEvent.html">PromptTextInputEvent</a>):void</div>
<div class="summaryTableDescription">
   PromptTextInputEvent.TEXT_CHANGE : Suriviens quand un changement 
   EFFECTIF du texte est détecté.</div>
</td><td class="summaryTableOwnerCol">AutoCompleterRemote</td>
</tr>
<tr class="hideInheritedProtectedMethod">
<td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableInheritanceCol"><img class="inheritedSummaryImage" title="Inherited" alt="Inherited" src="../../../../images/inheritedSummary.gif"></td><td class="summaryTableSignatureCol">
<div class="summarySignature">
<a class="signatureLink" href="../textinput/PromptTextInput.html#handlerTextInput()">handlerTextInput</a>(e:Event):void</div>
<div class="summaryTableDescription">
   Handler : Event.CHANGE
   Assure la détection des changements effectifs du text lors de la
   saisie utilisateur.</div>
</td><td class="summaryTableOwnerCol"><a href="../textinput/PromptTextInput.html">PromptTextInput</a></td>
</tr>
<tr class="">
<td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableInheritanceCol">&nbsp;</td><td class="summaryTableSignatureCol">
<div class="summarySignature">
<a class="signatureLink" href="#hideCompletion()">hideCompletion</a>():void</div>
<div class="summaryTableDescription">
   Cache la completion
   
   </div>
</td><td class="summaryTableOwnerCol">AutoCompleterRemote</td>
</tr>
<tr class="hideInheritedProtectedMethod">
<td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableInheritanceCol"><img class="inheritedSummaryImage" title="Inherited" alt="Inherited" src="../../../../images/inheritedSummary.gif"></td><td class="summaryTableSignatureCol">
<div class="summarySignature">
<a class="signatureLink" href="../textinput/PromptTextInput.html#initializationComplete()">initializationComplete</a>():void</div>
<div class="summaryTableDescription"></div>
</td><td class="summaryTableOwnerCol"><a href="../textinput/PromptTextInput.html">PromptTextInput</a></td>
</tr>
<tr class="">
<td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableInheritanceCol">&nbsp;</td><td class="summaryTableSignatureCol">
<div class="summarySignature">
<a class="signatureLink" href="#invalidateStyle()">invalidateStyle</a>():void</div>
<div class="summaryTableDescription">
   Rafraichis l'affichage du champ
   </div>
</td><td class="summaryTableOwnerCol">AutoCompleterRemote</td>
</tr>
<tr class="">
<td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableInheritanceCol">&nbsp;</td><td class="summaryTableSignatureCol">
<div class="summarySignature">
<a class="signatureLink" href="#measure()">measure</a>():void</div>
<div class="summaryTableDescription"></div>
</td><td class="summaryTableOwnerCol">AutoCompleterRemote</td>
</tr>
<tr class="">
<td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableInheritanceCol">&nbsp;</td><td class="summaryTableSignatureCol">
<div class="summarySignature">
<a class="signatureLink" href="#remoteGetItemById()">remoteGetItemById</a>(value:int):void</div>
<div class="summaryTableDescription">
   <b>Méthode à surcharger</b> pour lancer la requète de récupération 
   par ID.</div>
</td><td class="summaryTableOwnerCol">AutoCompleterRemote</td>
</tr>
<tr class="">
<td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableInheritanceCol">&nbsp;</td><td class="summaryTableSignatureCol">
<div class="summarySignature">
<a class="signatureLink" href="#remoteGetItemByIdResult()">remoteGetItemByIdResult</a>(item:*):void</div>
<div class="summaryTableDescription">
   Méthode à executer lors de la récupération de la donnée par ID
   
   </div>
</td><td class="summaryTableOwnerCol">AutoCompleterRemote</td>
</tr>
<tr class="">
<td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableInheritanceCol">&nbsp;</td><td class="summaryTableSignatureCol">
<div class="summarySignature">
<a class="signatureLink" href="#remoteGetItemList()">remoteGetItemList</a>():void</div>
<div class="summaryTableDescription">
   <b>Méthode à surcharger</b> pour lancer la requète de 
   récupération des listes.</div>
</td><td class="summaryTableOwnerCol">AutoCompleterRemote</td>
</tr>
<tr class="">
<td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableInheritanceCol">&nbsp;</td><td class="summaryTableSignatureCol">
<div class="summarySignature">
<a class="signatureLink" href="#remoteGetItemListResult()">remoteGetItemListResult</a>(value:Array):void</div>
<div class="summaryTableDescription">
   Méthode à executer lors de la récupération des données
   
   </div>
</td><td class="summaryTableOwnerCol">AutoCompleterRemote</td>
</tr>
<tr class="">
<td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableInheritanceCol">&nbsp;</td><td class="summaryTableSignatureCol">
<div class="summarySignature">
<a class="signatureLink" href="#showCompletion()">showCompletion</a>():void</div>
<div class="summaryTableDescription">
   Gestion de l'affichage de la completion
   
   </div>
</td><td class="summaryTableOwnerCol">AutoCompleterRemote</td>
</tr>
<tr class="hideInheritedProtectedMethod">
<td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableInheritanceCol"><img class="inheritedSummaryImage" title="Inherited" alt="Inherited" src="../../../../images/inheritedSummary.gif"></td><td class="summaryTableSignatureCol">
<div class="summarySignature">
<a class="signatureLink" href="../textinput/PromptTextInput.html#styleNormal()">styleNormal</a>():void</div>
<div class="summaryTableDescription">
   Applique le style standard
   </div>
</td><td class="summaryTableOwnerCol"><a href="../textinput/PromptTextInput.html">PromptTextInput</a></td>
</tr>
<tr class="hideInheritedProtectedMethod">
<td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableInheritanceCol"><img class="inheritedSummaryImage" title="Inherited" alt="Inherited" src="../../../../images/inheritedSummary.gif"></td><td class="summaryTableSignatureCol">
<div class="summarySignature">
<a class="signatureLink" href="../textinput/PromptTextInput.html#stylePrompt()">stylePrompt</a>():void</div>
<div class="summaryTableDescription">
   Applique le style quand le prompt est affiché
   </div>
</td><td class="summaryTableOwnerCol"><a href="../textinput/PromptTextInput.html">PromptTextInput</a></td>
</tr>
<tr class="">
<td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableInheritanceCol">&nbsp;</td><td class="summaryTableSignatureCol">
<div class="summarySignature">
<a class="signatureLink" href="#styleSelected()">styleSelected</a>():void</div>
<div class="summaryTableDescription">
   Applique le style quand une donnée est selectionnée
   </div>
</td><td class="summaryTableOwnerCol">AutoCompleterRemote</td>
</tr>
<tr class="hideInheritedProtectedMethod">
<td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableInheritanceCol"><img class="inheritedSummaryImage" title="Inherited" alt="Inherited" src="../../../../images/inheritedSummary.gif"></td><td class="summaryTableSignatureCol">
<div class="summarySignature">
<a class="signatureLink" href="../textinput/PromptTextInput.html#updateDisplayList()">updateDisplayList</a>(unscaledWidth:Number, unscaledHeight:Number):void</div>
<div class="summaryTableDescription"></div>
</td><td class="summaryTableOwnerCol"><a href="../textinput/PromptTextInput.html">PromptTextInput</a></td>
</tr>
</table>
</div>
<a name="eventSummary"></a>
<div class="summarySection">
<div class="summaryTableTitle">Events</div>
<div class="showHideLinks">
<div class="hideInheritedEvent" id="hideInheritedEvent">
<a onclick="javascript:setInheritedVisible(false,'Event');" href="#eventSummary" class="showHideLink"><img src="../../../../images/expanded.gif" class="showHideLinkImage"> Hide Inherited Events</a>
</div>
<div class="showInheritedEvent" id="showInheritedEvent">
<a onclick="javascript:setInheritedVisible(true,'Event');" href="#eventSummary" class="showHideLink"><img src="../../../../images/collapsed.gif" class="showHideLinkImage"> Show Inherited Events</a>
</div>
</div>
<table id="summaryTableEvent" class="summaryTable " cellpadding="3" cellspacing="0">
<tr>
<th>&nbsp;</th><th colspan="2">Event</th><th>Summary</th><th class="summaryTableOwnerCol">Defined&nbsp;by</th>
</tr>
<tr class="">
<td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableInheritanceCol">&nbsp;</td><td class="summaryTableSignatureCol">
<div class="summarySignature">
<a class="signatureLink" href="#event:selectedItemChange">selectedItemChange</a>
</div>
</td><td class="summaryTableDescription summaryTableCol">
  Dispatché lorsque l'item selectionné change
  </td><td class="summaryTableOwnerCol">AutoCompleterRemote</td>
</tr>
<tr class="hideInheritedEvent">
<td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableInheritanceCol"><img class="inheritedSummaryImage" title="Inherited" alt="Inherited" src="../../../../images/inheritedSummary.gif"></td><td class="summaryTableSignatureCol">
<div class="summarySignature">
<a class="signatureLink" href="../textinput/PromptTextInput.html#event:textChange">textChange</a>
</div>
</td><td class="summaryTableDescription summaryTableCol">
  Difusé lors d'un changement EFFECTIF du contenu texte.</td><td class="summaryTableOwnerCol"><a href="../textinput/PromptTextInput.html">PromptTextInput</a></td>
</tr>
</table>
</div>
<script type="text/javascript" language="javascript">
<!--
showHideInherited();
--></script>
<div class="MainContent">
<a name="propertyDetail"></a>
<div class="detailSectionHeader">Property detail</div>
<a name="colorDropDown"></a>
<table cellspacing="0" cellpadding="0" class="detailHeader">
<tr>
<td class="detailHeaderName">colorDropDown</td><td class="detailHeaderType">property</td>
</tr>
</table>
<div class="detailBody">
<code>colorDropDown:String</code>&nbsp;&nbsp;[read-write]<p>
   Couleur des éléments dans la DropDown
      </p><p>The default value is <code>#00000</code>.</p>
<span class="label">Implementation</span>
<br>
<code>&nbsp;&nbsp;&nbsp;&nbsp;public function get colorDropDown():String</code>
<br>
<code>&nbsp;&nbsp;&nbsp;&nbsp;public function set colorDropDown(value:String):void</code>
<br>
</div>
<a name="completion"></a>
<table cellspacing="0" cellpadding="0" class="detailHeader">
<tr>
<td class="detailHeaderName">completion</td><td class="detailHeaderType">property</td><td class="detailHeaderRule">&nbsp;</td>
</tr>
</table>
<div class="detailBody">
<code>protected var completion:List</code>
</div>
<a name="completionLabelFunction"></a>
<table cellspacing="0" cellpadding="0" class="detailHeader">
<tr>
<td class="detailHeaderName">completionLabelFunction</td><td class="detailHeaderType">property</td><td class="detailHeaderRule">&nbsp;</td>
</tr>
</table>
<div class="detailBody">
<code>completionLabelFunction:Function</code>&nbsp;&nbsp;[read-write]<p>
   Méthode de rendu pour la completion
      </p><p>The default value is <code>null</code>.</p>
<span class="label">Implementation</span>
<br>
<code>&nbsp;&nbsp;&nbsp;&nbsp;public function get completionLabelFunction():Function</code>
<br>
<code>&nbsp;&nbsp;&nbsp;&nbsp;public function set completionLabelFunction(value:Function):void</code>
<br>
</div>
<a name="completionLabelFunctionRenderer"></a>
<table cellspacing="0" cellpadding="0" class="detailHeader">
<tr>
<td class="detailHeaderName">completionLabelFunctionRenderer</td><td class="detailHeaderType">property</td><td class="detailHeaderRule">&nbsp;</td>
</tr>
</table>
<div class="detailBody">
<code>completionLabelFunctionRenderer:Function</code>&nbsp;&nbsp;[read-write]<p>
   Mise en forme de la completion
      </p><p>The default value is <code>null</code>.</p>
<span class="label">Implementation</span>
<br>
<code>&nbsp;&nbsp;&nbsp;&nbsp;public function get completionLabelFunctionRenderer():Function</code>
<br>
<code>&nbsp;&nbsp;&nbsp;&nbsp;public function set completionLabelFunctionRenderer(value:Function):void</code>
<br>
</div>
<a name="completionMaxRow"></a>
<table cellspacing="0" cellpadding="0" class="detailHeader">
<tr>
<td class="detailHeaderName">completionMaxRow</td><td class="detailHeaderType">property</td><td class="detailHeaderRule">&nbsp;</td>
</tr>
</table>
<div class="detailBody">
<code>completionMaxRow:int</code>&nbsp;&nbsp;[read-write]<p>
   Nombre de caractère minimum pour éxécuter la fonction de récupération
   des listes de donnée.
      </p><p>The default value is <code>5</code>.</p>
<span class="label">Implementation</span>
<br>
<code>&nbsp;&nbsp;&nbsp;&nbsp;public function get completionMaxRow():int</code>
<br>
<code>&nbsp;&nbsp;&nbsp;&nbsp;public function set completionMaxRow(value:int):void</code>
<br>
</div>
<a name="dataProvider"></a>
<table cellspacing="0" cellpadding="0" class="detailHeader">
<tr>
<td class="detailHeaderName">dataProvider</td><td class="detailHeaderType">property</td><td class="detailHeaderRule">&nbsp;</td>
</tr>
</table>
<div class="detailBody">
<code>dataProvider:Object</code>&nbsp;&nbsp;[read-write]<p>
   Mise en forme de la selection dans le champ de texte
      </p><p>The default value is <code>null</code>.</p>
<span class="label">Implementation</span>
<br>
<code>&nbsp;&nbsp;&nbsp;&nbsp;public function get dataProvider():Object</code>
<br>
<code>&nbsp;&nbsp;&nbsp;&nbsp;public function set dataProvider(value:Object):void</code>
<br>
</div>
<a name="dropDownItemRenderer"></a>
<table cellspacing="0" cellpadding="0" class="detailHeader">
<tr>
<td class="detailHeaderName">dropDownItemRenderer</td><td class="detailHeaderType">property</td><td class="detailHeaderRule">&nbsp;</td>
</tr>
</table>
<div class="detailBody">
<code>dropDownItemRenderer:IFactory</code>&nbsp;&nbsp;[read-write]<p>
   Item renderer de rendu pour la completion
      </p><p>The default value is <code>contain</code>.</p>
<span class="label">Implementation</span>
<br>
<code>&nbsp;&nbsp;&nbsp;&nbsp;public function get dropDownItemRenderer():IFactory</code>
<br>
<code>&nbsp;&nbsp;&nbsp;&nbsp;public function set dropDownItemRenderer(value:IFactory):void</code>
<br>
<p>
<span class="label">See also</span>
</p>
<div class="seeAlso">
<a href="AutoCompleterRemoteMode.html" target="">AutoCompleterRemoteMode</a>
</div>
</div>
<a name="filterFunction"></a>
<table cellspacing="0" cellpadding="0" class="detailHeader">
<tr>
<td class="detailHeaderName">filterFunction</td><td class="detailHeaderType">property</td><td class="detailHeaderRule">&nbsp;</td>
</tr>
</table>
<div class="detailBody">
<code>filterFunction:Function</code>&nbsp;&nbsp;[read-write]<p>
   Fonction de filtrage des données dans la completion. signature : 
   <code>filterFunction( o:) :Boolean</code>
      </p><p>The default value is <code>null</code>.</p>
<span class="label">Implementation</span>
<br>
<code>&nbsp;&nbsp;&nbsp;&nbsp;public function get filterFunction():Function</code>
<br>
<code>&nbsp;&nbsp;&nbsp;&nbsp;public function set filterFunction(value:Function):void</code>
<br>
</div>
<a name="fRealTimeRequest"></a>
<table cellspacing="0" cellpadding="0" class="detailHeader">
<tr>
<td class="detailHeaderName">fRealTimeRequest</td><td class="detailHeaderType">property</td><td class="detailHeaderRule">&nbsp;</td>
</tr>
</table>
<div class="detailBody">
<code>protected var fRealTimeRequest:Boolean = false</code><p>
   Détermine si l'autocompleter est en mode connecté. Pour mettre en 
   place un AutoCompleter 'connecté', vous devez surcharger la classe 
   AutoCompleterRemote en réécrivant les méthodes : 
    - <code>remoteGetItemById( value:int ) :void</code>
    - <code>remoteGetItemByIdResult( value:) :void</code>
    - <code>remoteGetItemList() :void</code>
    - <code>remoteGetItemListResult( list:Array ) :void</code>
   </p></div>
<a name="hasSelectedItem"></a>
<table cellspacing="0" cellpadding="0" class="detailHeader">
<tr>
<td class="detailHeaderName">hasSelectedItem</td><td class="detailHeaderType">property</td><td class="detailHeaderRule">&nbsp;</td>
</tr>
</table>
<div class="detailBody">
<code>hasSelectedItem:Boolean</code>&nbsp;&nbsp;[read-only]<p>
   Permet de savoir si un item est selectionné ou pas
   
   </p><p>This property can be used as the source for data binding.</p>
<span class="label">Implementation</span>
<br>
<code>&nbsp;&nbsp;&nbsp;&nbsp;public function get hasSelectedItem():Boolean</code>
<br>
</div>
<a name="idName"></a>
<table cellspacing="0" cellpadding="0" class="detailHeader">
<tr>
<td class="detailHeaderName">idName</td><td class="detailHeaderType">property</td><td class="detailHeaderRule">&nbsp;</td>
</tr>
</table>
<div class="detailBody">
<code>idName:String</code>&nbsp;&nbsp;[read-write]<p>
   Nom de la propriété servant de clef primaire. De préférence un type
   int unique.
      </p><p>The default value is <code>"id"</code>.</p>
<span class="label">Implementation</span>
<br>
<code>&nbsp;&nbsp;&nbsp;&nbsp;public function get idName():String</code>
<br>
<code>&nbsp;&nbsp;&nbsp;&nbsp;public function set idName(value:String):void</code>
<br>
</div>
<a name="labelField"></a>
<table cellspacing="0" cellpadding="0" class="detailHeader">
<tr>
<td class="detailHeaderName">labelField</td><td class="detailHeaderType">property</td><td class="detailHeaderRule">&nbsp;</td>
</tr>
</table>
<div class="detailBody">
<code>labelField:String</code>&nbsp;&nbsp;[read-write]<p>
   Méthode de filtrage des données
      </p><p>The default value is <code>contain</code>.</p>
<span class="label">Implementation</span>
<br>
<code>&nbsp;&nbsp;&nbsp;&nbsp;public function get labelField():String</code>
<br>
<code>&nbsp;&nbsp;&nbsp;&nbsp;public function set labelField(value:String):void</code>
<br>
<p>
<span class="label">See also</span>
</p>
<div class="seeAlso">
<a href="AutoCompleterRemoteMode.html" target="">AutoCompleterRemoteMode</a>
</div>
</div>
<a name="remoteCallStartAt"></a>
<table cellspacing="0" cellpadding="0" class="detailHeader">
<tr>
<td class="detailHeaderName">remoteCallStartAt</td><td class="detailHeaderType">property</td><td class="detailHeaderRule">&nbsp;</td>
</tr>
</table>
<div class="detailBody">
<code>remoteCallStartAt:int</code>&nbsp;&nbsp;[read-write]<p>
   Nombre de caractère minimum pour éxécuter la fonction de récupération
   des listes de donnée.
      </p><p>The default value is <code>1</code>.</p>
<span class="label">Implementation</span>
<br>
<code>&nbsp;&nbsp;&nbsp;&nbsp;public function get remoteCallStartAt():int</code>
<br>
<code>&nbsp;&nbsp;&nbsp;&nbsp;public function set remoteCallStartAt(value:int):void</code>
<br>
</div>
<a name="searchMode"></a>
<table cellspacing="0" cellpadding="0" class="detailHeader">
<tr>
<td class="detailHeaderName">searchMode</td><td class="detailHeaderType">property</td><td class="detailHeaderRule">&nbsp;</td>
</tr>
</table>
<div class="detailBody">
<code>searchMode:String</code>&nbsp;&nbsp;[read-write]<p>
   Méthode de filtrage des données :
    - contain : Contiend la chaine
    - begin_by : Commence par
      </p><p>The default value is <code>contain</code>.</p>
<span class="label">Implementation</span>
<br>
<code>&nbsp;&nbsp;&nbsp;&nbsp;public function get searchMode():String</code>
<br>
<code>&nbsp;&nbsp;&nbsp;&nbsp;public function set searchMode(value:String):void</code>
<br>
<p>
<span class="label">See also</span>
</p>
<div class="seeAlso">
<a href="AutoCompleterRemoteMode.html" target="">AutoCompleterRemoteMode</a>
</div>
</div>
<a name="searchSensitiveCase"></a>
<table cellspacing="0" cellpadding="0" class="detailHeader">
<tr>
<td class="detailHeaderName">searchSensitiveCase</td><td class="detailHeaderType">property</td><td class="detailHeaderRule">&nbsp;</td>
</tr>
</table>
<div class="detailBody">
<code>searchSensitiveCase:Boolean</code>&nbsp;&nbsp;[read-write]<p>
   Définit si la méthode de filtrage des données est sensible à la case,
   la donnée est placée dans sortField
      </p><p>The default value is <code>false</code>.</p>
<p>This property can be used as the source for data binding.</p>
<span class="label">Implementation</span>
<br>
<code>&nbsp;&nbsp;&nbsp;&nbsp;public function get searchSensitiveCase():Boolean</code>
<br>
<code>&nbsp;&nbsp;&nbsp;&nbsp;public function set searchSensitiveCase(value:Boolean):void</code>
<br>
</div>
<a name="searchSortByProperty"></a>
<table cellspacing="0" cellpadding="0" class="detailHeader">
<tr>
<td class="detailHeaderName">searchSortByProperty</td><td class="detailHeaderType">property</td><td class="detailHeaderRule">&nbsp;</td>
</tr>
</table>
<div class="detailBody">
<code>searchSortByProperty:String</code>&nbsp;&nbsp;[read-write]<p>
   Définit le champ utilisé pour le trie de la completion.
      </p><p>The default value is <code>false</code>.</p>
<p>This property can be used as the source for data binding.</p>
<span class="label">Implementation</span>
<br>
<code>&nbsp;&nbsp;&nbsp;&nbsp;public function get searchSortByProperty():String</code>
<br>
<code>&nbsp;&nbsp;&nbsp;&nbsp;public function set searchSortByProperty(value:String):void</code>
<br>
</div>
<a name="selectedID"></a>
<table cellspacing="0" cellpadding="0" class="detailHeader">
<tr>
<td class="detailHeaderName">selectedID</td><td class="detailHeaderType">property</td><td class="detailHeaderRule">&nbsp;</td>
</tr>
</table>
<div class="detailBody">
<code>selectedID:int</code>&nbsp;&nbsp;[read-write]<p>
   Permet de manipuler / obtenir les items via leurs clef primaires. 
   quand aucun item référencé dans la completion n'est selectionné, la
   valeur retournée est <code>-1</code>. Les ID à 0 n'étant pas d'usage
   dans le bases de données, les valeurs < 1 sont considérées comme 
   égales à -1.
      </p><p>The default value is <code>-1</code>.</p>
<p>This property can be used as the source for data binding.</p>
<span class="label">Implementation</span>
<br>
<code>&nbsp;&nbsp;&nbsp;&nbsp;public function get selectedID():int</code>
<br>
<code>&nbsp;&nbsp;&nbsp;&nbsp;public function set selectedID(value:int):void</code>
<br>
</div>
<a name="selectedItem"></a>
<table cellspacing="0" cellpadding="0" class="detailHeader">
<tr>
<td class="detailHeaderName">selectedItem</td><td class="detailHeaderType">property</td><td class="detailHeaderRule">&nbsp;</td>
</tr>
</table>
<div class="detailBody">
<code>selectedItem:*</code>&nbsp;&nbsp;[read-write]<p>
   Item selectionné dans la completion.
      </p><p>The default value is <code>null</code>.</p>
<p>This property can be used as the source for data binding.</p>
<span class="label">Implementation</span>
<br>
<code>&nbsp;&nbsp;&nbsp;&nbsp;public function get selectedItem():*</code>
<br>
<code>&nbsp;&nbsp;&nbsp;&nbsp;public function set selectedItem(value:*):void</code>
<br>
</div>
<a name="selectedItemLabelFunction"></a>
<table cellspacing="0" cellpadding="0" class="detailHeader">
<tr>
<td class="detailHeaderName">selectedItemLabelFunction</td><td class="detailHeaderType">property</td><td class="detailHeaderRule">&nbsp;</td>
</tr>
</table>
<div class="detailBody">
<code>selectedItemLabelFunction:Function</code>&nbsp;&nbsp;[read-write]<p>
   Méthode de rendu pour les items SELECTIONNES
      </p><p>The default value is <code>null</code>.</p>
<span class="label">Implementation</span>
<br>
<code>&nbsp;&nbsp;&nbsp;&nbsp;public function get selectedItemLabelFunction():Function</code>
<br>
<code>&nbsp;&nbsp;&nbsp;&nbsp;public function set selectedItemLabelFunction(value:Function):void</code>
<br>
</div>
<a name="selectedLabel"></a>
<table cellspacing="0" cellpadding="0" class="detailHeader">
<tr>
<td class="detailHeaderName">selectedLabel</td><td class="detailHeaderType">property</td><td class="detailHeaderRule">&nbsp;</td>
</tr>
</table>
<div class="detailBody">
<code>selectedLabel:String</code>&nbsp;&nbsp;[read-only]<p> 
   Retourne le selectedItem formaté pour l'affichage dans le champ de 
   texte. Si aucun item n'est selectionné, retourne une chaine vide.
   
   </p><p>This property can be used as the source for data binding.</p>
<span class="label">Implementation</span>
<br>
<code>&nbsp;&nbsp;&nbsp;&nbsp;public function get selectedLabel():String</code>
<br>
</div>
<a name="sortField"></a>
<table cellspacing="0" cellpadding="0" class="detailHeader">
<tr>
<td class="detailHeaderName">sortField</td><td class="detailHeaderType">property</td><td class="detailHeaderRule">&nbsp;</td>
</tr>
</table>
<div class="detailBody">
<code>sortField:SortField</code>&nbsp;&nbsp;[read-write]<p>
   SortField appliqué au ICollectionView de la completion pour les 
   tries. Les propriétés <code>propertyName</code>
   </p><span class="label">Implementation</span>
<br>
<code>&nbsp;&nbsp;&nbsp;&nbsp;public function get sortField():SortField</code>
<br>
<code>&nbsp;&nbsp;&nbsp;&nbsp;public function set sortField(value:SortField):void</code>
<br>
</div>
<a name="text"></a>
<table cellspacing="0" cellpadding="0" class="detailHeader">
<tr>
<td class="detailHeaderName">text</td><td class="detailHeaderType">property</td><td class="detailHeaderRule">&nbsp;</td>
</tr>
</table>
<div class="detailBody">
<code>text:String</code>&nbsp;&nbsp;[read-write]<p>
   Nombre de caractère minimum pour éxécuter la fonction de récupération
   des listes de donnée.
      </p><p>The default value is <code>1</code>.</p>
<span class="label">Implementation</span>
<br>
<code>&nbsp;&nbsp;&nbsp;&nbsp;public function get text():String</code>
<br>
<code>&nbsp;&nbsp;&nbsp;&nbsp;public function set text(value:String):void</code>
<br>
</div>
<a name="constructorDetail"></a>
<div class="detailSectionHeader">Constructor detail</div>
<a name="AutoCompleterRemote()"></a>
<table cellspacing="0" cellpadding="0" class="detailHeader">
<tr>
<td class="detailHeaderName">AutoCompleterRemote</td><td class="detailHeaderParens">()</td><td class="detailHeaderType">constructor</td>
</tr>
</table>
<div class="detailBody">
<code>public function AutoCompleterRemote()</code>
</div>
<a name="methodDetail"></a>
<div class="detailSectionHeader">Method detail</div>
<a name="completionSelect()"></a>
<table cellspacing="0" cellpadding="0" class="detailHeader">
<tr>
<td class="detailHeaderName">completionSelect</td><td class="detailHeaderParens">()</td><td class="detailHeaderType">method</td>
</tr>
</table>
<div class="detailBody">
<code>protected function completionSelect():void</code><p>
   Valide l'item selectionné dans la completion comme selectedItem
   
   </p></div>
<a name="completionSelectNext()"></a>
<table cellspacing="0" cellpadding="0" class="detailHeader">
<tr>
<td class="detailHeaderName">completionSelectNext</td><td class="detailHeaderParens">()</td><td class="detailHeaderType">method</td><td class="detailHeaderRule">&nbsp;</td>
</tr>
</table>
<div class="detailBody">
<code>protected function completionSelectNext():void</code><p>
   Selectionne l'item suivant dans la completion.
   
   </p></div>
<a name="completionSelectPrevious()"></a>
<table cellspacing="0" cellpadding="0" class="detailHeader">
<tr>
<td class="detailHeaderName">completionSelectPrevious</td><td class="detailHeaderParens">()</td><td class="detailHeaderType">method</td><td class="detailHeaderRule">&nbsp;</td>
</tr>
</table>
<div class="detailBody">
<code>protected function completionSelectPrevious():void</code><p>
   Selectionne l'item précédent dans la completion
   
   </p></div>
<a name="createChildren()"></a>
<table cellspacing="0" cellpadding="0" class="detailHeader">
<tr>
<td class="detailHeaderName">createChildren</td><td class="detailHeaderParens">()</td><td class="detailHeaderType">method</td><td class="detailHeaderRule">&nbsp;</td>
</tr>
</table>
<div class="detailBody">
<code>protected override function createChildren():void</code><p>
   Création des enfants
   
   </p></div>
<a name="defaultCompletionLabelFunction()"></a>
<table cellspacing="0" cellpadding="0" class="detailHeader">
<tr>
<td class="detailHeaderName">defaultCompletionLabelFunction</td><td class="detailHeaderParens">()</td><td class="detailHeaderType">method</td><td class="detailHeaderRule">&nbsp;</td>
</tr>
</table>
<div class="detailBody">
<code>public function defaultCompletionLabelFunction(item:Object):String</code><p> 
   Filtrage de la complection par defaut
     protected function completionFilterFunction( o:Object ) :Boolean {
   if( text == "" ) return true;
   
   var pattern:String = "";
   var flag:String = 'g';
   var regExp:RegExp;
   var value:String = (selectedItemLabelFunction==null)?o.toString():selectedItemLabelFunction(o);
   
   if( searchMode == AutoCompleterRemoteMode.BEGIN_BY ) pattern = pattern.concat('^');
   if( !searchSensitiveCase ) flag = flag.concat('i');
   
   pattern = pattern.concat(text);
   regExp = new RegExp(pattern, flag);
   
   return value.match(regExp).length > 0;
    
  }
  /</p><span class="label">Parameters</span>
<table border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="20px"></td><td><code><span class="label">item</span>:Object</code></td>
</tr>
</table>
<p></p>
<span class="label">Returns</span>
<table border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="20"></td><td><code>String</code></td>
</tr>
</table>
</div>
<a name="defaultFilterFunction()"></a>
<table cellspacing="0" cellpadding="0" class="detailHeader">
<tr>
<td class="detailHeaderName">defaultFilterFunction</td><td class="detailHeaderParens">()</td><td class="detailHeaderType">method</td><td class="detailHeaderRule">&nbsp;</td>
</tr>
</table>
<div class="detailBody">
<code>public function defaultFilterFunction(item:Object):Boolean</code><p> 
   Cette fonction permet de filter le jeu de données.
   Fonction par défaut
   
   </p><span class="label">Parameters</span>
<table border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="20px"></td><td><code><span class="label">item</span>:Object</code></td>
</tr>
</table>
<p></p>
<span class="label">Returns</span>
<table border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="20"></td><td><code>Boolean</code></td>
</tr>
</table>
</div>
<a name="filterData()"></a>
<table cellspacing="0" cellpadding="0" class="detailHeader">
<tr>
<td class="detailHeaderName">filterData</td><td class="detailHeaderParens">()</td><td class="detailHeaderType">method</td><td class="detailHeaderRule">&nbsp;</td>
</tr>
</table>
<div class="detailBody">
<code>public function filterData():void</code><p> 
   Rafraîchit la liste
   
   </p></div>
<a name="focusOutHandler()"></a>
<table cellspacing="0" cellpadding="0" class="detailHeader">
<tr>
<td class="detailHeaderName">focusOutHandler</td><td class="detailHeaderParens">()</td><td class="detailHeaderType">method</td><td class="detailHeaderRule">&nbsp;</td>
</tr>
</table>
<div class="detailBody">
<code>protected override function focusOutHandler(event:FocusEvent):void</code><p>
   A la perte du focus, on cache la completion
   
   </p><span class="label">Parameters</span>
<table border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="20px"></td><td><code><span class="label">event</span>:FocusEvent</code></td>
</tr>
</table>
</div>
<a name="handlerFocusOut()"></a>
<table cellspacing="0" cellpadding="0" class="detailHeader">
<tr>
<td class="detailHeaderName">handlerFocusOut</td><td class="detailHeaderParens">()</td><td class="detailHeaderType">method</td><td class="detailHeaderRule">&nbsp;</td>
</tr>
</table>
<div class="detailBody">
<code>protected override function handlerFocusOut(e:FocusEvent):void</code><p>
   FocusEvent.FOCUS_OUT : A la perte de focus du composant
   
   </p><span class="label">Parameters</span>
<table border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="20px"></td><td><code><span class="label">e</span>:FocusEvent</code> &mdash; FocusEvent
   </td>
</tr>
</table>
<p>
<span class="label">See also</span>
</p>
<div class="seeAlso">hideCompletion</div>
</div>
<a name="handlerItemClick()"></a>
<table cellspacing="0" cellpadding="0" class="detailHeader">
<tr>
<td class="detailHeaderName">handlerItemClick</td><td class="detailHeaderParens">()</td><td class="detailHeaderType">method</td><td class="detailHeaderRule">&nbsp;</td>
</tr>
</table>
<div class="detailBody">
<code>protected function handlerItemClick(e:ListEvent):void</code><p>
   completion > ListEvent.ITEM_CLICK : Quand un item dans la liste est 
   selectionné via un click de la souris.
   
   </p><span class="label">Parameters</span>
<table border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="20px"></td><td><code><span class="label">e</span>:ListEvent</code> &mdash; ListeEvent
   </td>
</tr>
</table>
</div>
<a name="handlerKeyUp()"></a>
<table cellspacing="0" cellpadding="0" class="detailHeader">
<tr>
<td class="detailHeaderName">handlerKeyUp</td><td class="detailHeaderParens">()</td><td class="detailHeaderType">method</td><td class="detailHeaderRule">&nbsp;</td>
</tr>
</table>
<div class="detailBody">
<code>protected function handlerKeyUp(e:KeyboardEvent):void</code><p>
   Détecteur pour les touches relachées
   
   </p><span class="label">Parameters</span>
<table border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="20px"></td><td><code><span class="label">e</span>:KeyboardEvent</code> &mdash; KeyBoardEvent
   </td>
</tr>
</table>
</div>
<a name="handlerTextChange()"></a>
<table cellspacing="0" cellpadding="0" class="detailHeader">
<tr>
<td class="detailHeaderName">handlerTextChange</td><td class="detailHeaderParens">()</td><td class="detailHeaderType">method</td><td class="detailHeaderRule">&nbsp;</td>
</tr>
</table>
<div class="detailBody">
<code>protected function handlerTextChange(e:<a href="../textinput/PromptTextInputEvent.html">PromptTextInputEvent</a>):void</code><p>
   PromptTextInputEvent.TEXT_CHANGE : Suriviens quand un changement 
   EFFECTIF du texte est détecté.
   
   </p><span class="label">Parameters</span>
<table border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="20px"></td><td><code><span class="label">e</span>:<a href="../textinput/PromptTextInputEvent.html">PromptTextInputEvent</a></code> &mdash; PromptTextInputEvent
   </td>
</tr>
</table>
</div>
<a name="hideCompletion()"></a>
<table cellspacing="0" cellpadding="0" class="detailHeader">
<tr>
<td class="detailHeaderName">hideCompletion</td><td class="detailHeaderParens">()</td><td class="detailHeaderType">method</td><td class="detailHeaderRule">&nbsp;</td>
</tr>
</table>
<div class="detailBody">
<code>protected function hideCompletion():void</code><p>
   Cache la completion
   
   </p></div>
<a name="invalidateStyle()"></a>
<table cellspacing="0" cellpadding="0" class="detailHeader">
<tr>
<td class="detailHeaderName">invalidateStyle</td><td class="detailHeaderParens">()</td><td class="detailHeaderType">method</td><td class="detailHeaderRule">&nbsp;</td>
</tr>
</table>
<div class="detailBody">
<code>protected override function invalidateStyle():void</code><p>
   Rafraichis l'affichage du champ
   </p></div>
<a name="measure()"></a>
<table cellspacing="0" cellpadding="0" class="detailHeader">
<tr>
<td class="detailHeaderName">measure</td><td class="detailHeaderParens">()</td><td class="detailHeaderType">method</td><td class="detailHeaderRule">&nbsp;</td>
</tr>
</table>
<div class="detailBody">
<code>protected override function measure():void</code>
</div>
<a name="remoteGetItemById()"></a>
<table cellspacing="0" cellpadding="0" class="detailHeader">
<tr>
<td class="detailHeaderName">remoteGetItemById</td><td class="detailHeaderParens">()</td><td class="detailHeaderType">method</td><td class="detailHeaderRule">&nbsp;</td>
</tr>
</table>
<div class="detailBody">
<code>protected function remoteGetItemById(value:int):void</code><p>
   <b>Méthode à surcharger</b> pour lancer la requète de récupération 
   par ID.
   
   </p><span class="label">Parameters</span>
<table border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="20px"></td><td><code><span class="label">value</span>:int</code></td>
</tr>
</table>
</div>
<a name="remoteGetItemByIdResult()"></a>
<table cellspacing="0" cellpadding="0" class="detailHeader">
<tr>
<td class="detailHeaderName">remoteGetItemByIdResult</td><td class="detailHeaderParens">()</td><td class="detailHeaderType">method</td><td class="detailHeaderRule">&nbsp;</td>
</tr>
</table>
<div class="detailBody">
<code>protected function remoteGetItemByIdResult(item:*):void</code><p>
   Méthode à executer lors de la récupération de la donnée par ID
   
   </p><span class="label">Parameters</span>
<table border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="20px"></td><td><code><span class="label">item</span>:*</code></td>
</tr>
</table>
</div>
<a name="remoteGetItemList()"></a>
<table cellspacing="0" cellpadding="0" class="detailHeader">
<tr>
<td class="detailHeaderName">remoteGetItemList</td><td class="detailHeaderParens">()</td><td class="detailHeaderType">method</td><td class="detailHeaderRule">&nbsp;</td>
</tr>
</table>
<div class="detailBody">
<code>protected function remoteGetItemList():void</code><p>
   <b>Méthode à surcharger</b> pour lancer la requète de 
   récupération des listes.
   
   </p></div>
<a name="remoteGetItemListResult()"></a>
<table cellspacing="0" cellpadding="0" class="detailHeader">
<tr>
<td class="detailHeaderName">remoteGetItemListResult</td><td class="detailHeaderParens">()</td><td class="detailHeaderType">method</td><td class="detailHeaderRule">&nbsp;</td>
</tr>
</table>
<div class="detailBody">
<code>protected function remoteGetItemListResult(value:Array):void</code><p>
   Méthode à executer lors de la récupération des données
   
   </p><span class="label">Parameters</span>
<table border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="20px"></td><td><code><span class="label">value</span>:Array</code></td>
</tr>
</table>
</div>
<a name="setBoldTextFind()"></a>
<table cellspacing="0" cellpadding="0" class="detailHeader">
<tr>
<td class="detailHeaderName">setBoldTextFind</td><td class="detailHeaderParens">()</td><td class="detailHeaderType">method</td><td class="detailHeaderRule">&nbsp;</td>
</tr>
</table>
<div class="detailBody">
<code>public function setBoldTextFind(item:Object):String</code><span class="label">Parameters</span>
<table border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="20px"></td><td><code><span class="label">item</span>:Object</code></td>
</tr>
</table>
<p></p>
<span class="label">Returns</span>
<table border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="20"></td><td><code>String</code></td>
</tr>
</table>
</div>
<a name="showCompletion()"></a>
<table cellspacing="0" cellpadding="0" class="detailHeader">
<tr>
<td class="detailHeaderName">showCompletion</td><td class="detailHeaderParens">()</td><td class="detailHeaderType">method</td><td class="detailHeaderRule">&nbsp;</td>
</tr>
</table>
<div class="detailBody">
<code>protected function showCompletion():void</code><p>
   Gestion de l'affichage de la completion
   
   </p></div>
<a name="styleSelected()"></a>
<table cellspacing="0" cellpadding="0" class="detailHeader">
<tr>
<td class="detailHeaderName">styleSelected</td><td class="detailHeaderParens">()</td><td class="detailHeaderType">method</td><td class="detailHeaderRule">&nbsp;</td>
</tr>
</table>
<div class="detailBody">
<code>protected function styleSelected():void</code><p>
   Applique le style quand une donnée est selectionnée
   </p></div>
<div class="detailSectionHeader">Event detail</div>
<a name="event:selectedItemChange"></a>
<table cellspacing="0" cellpadding="0" class="detailHeader">
<tr>
<td class="detailHeaderName">selectedItemChange</td><td class="detailHeaderType">event&nbsp;</td>
</tr>
</table>
<div class="detailBody">
<span class="label">Event object type: </span><a href="../autocompleter/AutoCompleterRemoteEvent.html"><code>com.jacksay.vikingfl.autocompleter.AutoCompleterRemoteEvent</code></a>
<br>
<p></p><p>
  Dispatché lorsque l'item selectionné change
  </p></div>
<br>
<br>
<hr>
<br>
<p></p>
<center class="copyright"> 
</center>
</div>
</body>
</html>
<!-- -->
